package cn.zd.pojo;

import cn.hutool.core.date.DateTime;
import cn.zd.util.DateUtil;

/**
 * @author zhangdong
 * @version 1.0.0
 * <p>
 * @ClassName ForeignExchangeEntity.java
 * @createTime 2023/03/21 21:55:00
 */

public class ForeignExchangeEntity {

    private String createAt;

    private Long createAt1;

    public Long getCreateAt1(String createAt) {
        DateTime parse = DateUtil.parse(createAt,"yyyy-MM-dd");
        return parse.getTime();
    }

    public void setCreateAt1(Long createAt1) {
        this.createAt1 = createAt1;
    }

    public String getCreateAt() {
        return createAt;
    }

    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }

    private Integer id;

    private String title;

    private String startPrice;

    private String minUnit;

    private String gangGan;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getStartPrice() {
        return startPrice;
    }

    public void setStartPrice(String startPrice) {
        this.startPrice = startPrice;
    }

    public String getMinUnit() {
        return minUnit;
    }

    public void setMinUnit(String minUnit) {
        this.minUnit = minUnit;
    }

    public String getGangGan() {
        return gangGan;
    }

    public void setGangGan(String gangGan) {
        this.gangGan = gangGan;
    }

    @Override public String toString() {
        return "ForeignExchangeEntity{" + "id=" + id + ", title='" + title + '\'' + ", startPrice='" + startPrice + '\''
            + ", minUnit='" + minUnit + '\'' + ", gangGan='" + gangGan + '\'' + '}';
    }
}
